MAHDIS

This program will compute the Mahalanobis distance. It follows the idea from: http://people.revoledu.com/kardi/tutorial/Similarity/MahalanobisDistance.html

The user enters in two groups of data:
1) An x-coordinate list for group 1
2) A y-coordinate list from group 1
3) An x-coordiante list for group 2
4) A y-coordinate list from group 2

These are stored in L1 and L2. Note that the x-coordinate and y-coordiante lists must be the same dimension within the group. But group 1 and group 2 may have different dimensions. The program will compute and display the pooled covariance between the two groups of data and the Mahalanobis distance. Enjoy! 